import  nmap
import sys

sys.path.append('D:\\program\\Nmap')
nm=nmap.PortScanner()
res=nm.scan('192.168.47.101')
#a=res.command_line()
print(nm)